package com.cmccgz.udacs_landlord_webapp.main.peoplemanager.contract;

import com.cmccgz.baselibrary.base.BasePresenter;
import com.cmccgz.baselibrary.base.BaseView;
import com.cmccgz.udacs_landlord_webapp.bean.CardBean;
import com.cmccgz.udacs_landlord_webapp.bean.CardMsg;

import java.util.List;

/**
 * @author Denis
 * @ClassName: DelayContract
 * @Description: 延迟租客房卡有效期
 * @date 2017/6/7 11:16
 */

public interface XiaoContract {
    interface Presenter extends BasePresenter {
        void xiaoCard(String user_mobile, String house_id, List<CardBean> cardBeans);

        void getCardMsg(String user_mobile, String house_id);
    }

    interface View extends BaseView<Presenter> {
        void loadingData(); //加载数据

        void finishGetData(CardMsg resp);  //完成加载数据

        void finishUploadData(String result); // 完成新增卡片
    }
}
